package com.bcx.service.impl;

import com.bcx.mapper.DistrictMapper;
import com.bcx.pojo.District;
import com.bcx.service.DistrictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DistrictServiceImpl implements DistrictService {
    @Resource
    DistrictMapper districtMapper;
    @Override
    public List<District> selectAll() {
        return districtMapper.selectByExample(null);
    }
}
